package com.wenwu.common.bean;

import java.util.ArrayList;
import java.util.List;

public class RelicsEntityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public RelicsEntityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andEntityIdIsNull() {
            addCriterion("entity_id is null");
            return (Criteria) this;
        }

        public Criteria andEntityIdIsNotNull() {
            addCriterion("entity_id is not null");
            return (Criteria) this;
        }

        public Criteria andEntityIdEqualTo(Integer value) {
            addCriterion("entity_id =", value, "entityId");
            return (Criteria) this;
        }

        public Criteria andEntityIdNotEqualTo(Integer value) {
            addCriterion("entity_id <>", value, "entityId");
            return (Criteria) this;
        }

        public Criteria andEntityIdGreaterThan(Integer value) {
            addCriterion("entity_id >", value, "entityId");
            return (Criteria) this;
        }

        public Criteria andEntityIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("entity_id >=", value, "entityId");
            return (Criteria) this;
        }

        public Criteria andEntityIdLessThan(Integer value) {
            addCriterion("entity_id <", value, "entityId");
            return (Criteria) this;
        }

        public Criteria andEntityIdLessThanOrEqualTo(Integer value) {
            addCriterion("entity_id <=", value, "entityId");
            return (Criteria) this;
        }

        public Criteria andEntityIdIn(List<Integer> values) {
            addCriterion("entity_id in", values, "entityId");
            return (Criteria) this;
        }

        public Criteria andEntityIdNotIn(List<Integer> values) {
            addCriterion("entity_id not in", values, "entityId");
            return (Criteria) this;
        }

        public Criteria andEntityIdBetween(Integer value1, Integer value2) {
            addCriterion("entity_id between", value1, value2, "entityId");
            return (Criteria) this;
        }

        public Criteria andEntityIdNotBetween(Integer value1, Integer value2) {
            addCriterion("entity_id not between", value1, value2, "entityId");
            return (Criteria) this;
        }

        public Criteria andMRelicsNoIsNull() {
            addCriterion("m_relics_no is null");
            return (Criteria) this;
        }

        public Criteria andMRelicsNoIsNotNull() {
            addCriterion("m_relics_no is not null");
            return (Criteria) this;
        }

        public Criteria andMRelicsNoEqualTo(String value) {
            addCriterion("m_relics_no =", value, "mRelicsNo");
            return (Criteria) this;
        }

        public Criteria andMRelicsNoNotEqualTo(String value) {
            addCriterion("m_relics_no <>", value, "mRelicsNo");
            return (Criteria) this;
        }

        public Criteria andMRelicsNoGreaterThan(String value) {
            addCriterion("m_relics_no >", value, "mRelicsNo");
            return (Criteria) this;
        }

        public Criteria andMRelicsNoGreaterThanOrEqualTo(String value) {
            addCriterion("m_relics_no >=", value, "mRelicsNo");
            return (Criteria) this;
        }

        public Criteria andMRelicsNoLessThan(String value) {
            addCriterion("m_relics_no <", value, "mRelicsNo");
            return (Criteria) this;
        }

        public Criteria andMRelicsNoLessThanOrEqualTo(String value) {
            addCriterion("m_relics_no <=", value, "mRelicsNo");
            return (Criteria) this;
        }

        public Criteria andMRelicsNoLike(String value) {
            addCriterion("m_relics_no like", value, "mRelicsNo");
            return (Criteria) this;
        }

        public Criteria andMRelicsNoNotLike(String value) {
            addCriterion("m_relics_no not like", value, "mRelicsNo");
            return (Criteria) this;
        }

        public Criteria andMRelicsNoIn(List<String> values) {
            addCriterion("m_relics_no in", values, "mRelicsNo");
            return (Criteria) this;
        }

        public Criteria andMRelicsNoNotIn(List<String> values) {
            addCriterion("m_relics_no not in", values, "mRelicsNo");
            return (Criteria) this;
        }

        public Criteria andMRelicsNoBetween(String value1, String value2) {
            addCriterion("m_relics_no between", value1, value2, "mRelicsNo");
            return (Criteria) this;
        }

        public Criteria andMRelicsNoNotBetween(String value1, String value2) {
            addCriterion("m_relics_no not between", value1, value2, "mRelicsNo");
            return (Criteria) this;
        }

        public Criteria andAssistTypeIsNull() {
            addCriterion("assist_type is null");
            return (Criteria) this;
        }

        public Criteria andAssistTypeIsNotNull() {
            addCriterion("assist_type is not null");
            return (Criteria) this;
        }

        public Criteria andAssistTypeEqualTo(String value) {
            addCriterion("assist_type =", value, "assistType");
            return (Criteria) this;
        }

        public Criteria andAssistTypeNotEqualTo(String value) {
            addCriterion("assist_type <>", value, "assistType");
            return (Criteria) this;
        }

        public Criteria andAssistTypeGreaterThan(String value) {
            addCriterion("assist_type >", value, "assistType");
            return (Criteria) this;
        }

        public Criteria andAssistTypeGreaterThanOrEqualTo(String value) {
            addCriterion("assist_type >=", value, "assistType");
            return (Criteria) this;
        }

        public Criteria andAssistTypeLessThan(String value) {
            addCriterion("assist_type <", value, "assistType");
            return (Criteria) this;
        }

        public Criteria andAssistTypeLessThanOrEqualTo(String value) {
            addCriterion("assist_type <=", value, "assistType");
            return (Criteria) this;
        }

        public Criteria andAssistTypeLike(String value) {
            addCriterion("assist_type like", value, "assistType");
            return (Criteria) this;
        }

        public Criteria andAssistTypeNotLike(String value) {
            addCriterion("assist_type not like", value, "assistType");
            return (Criteria) this;
        }

        public Criteria andAssistTypeIn(List<String> values) {
            addCriterion("assist_type in", values, "assistType");
            return (Criteria) this;
        }

        public Criteria andAssistTypeNotIn(List<String> values) {
            addCriterion("assist_type not in", values, "assistType");
            return (Criteria) this;
        }

        public Criteria andAssistTypeBetween(String value1, String value2) {
            addCriterion("assist_type between", value1, value2, "assistType");
            return (Criteria) this;
        }

        public Criteria andAssistTypeNotBetween(String value1, String value2) {
            addCriterion("assist_type not between", value1, value2, "assistType");
            return (Criteria) this;
        }

        public Criteria andAssistNumIsNull() {
            addCriterion("assist_num is null");
            return (Criteria) this;
        }

        public Criteria andAssistNumIsNotNull() {
            addCriterion("assist_num is not null");
            return (Criteria) this;
        }

        public Criteria andAssistNumEqualTo(String value) {
            addCriterion("assist_num =", value, "assistNum");
            return (Criteria) this;
        }

        public Criteria andAssistNumNotEqualTo(String value) {
            addCriterion("assist_num <>", value, "assistNum");
            return (Criteria) this;
        }

        public Criteria andAssistNumGreaterThan(String value) {
            addCriterion("assist_num >", value, "assistNum");
            return (Criteria) this;
        }

        public Criteria andAssistNumGreaterThanOrEqualTo(String value) {
            addCriterion("assist_num >=", value, "assistNum");
            return (Criteria) this;
        }

        public Criteria andAssistNumLessThan(String value) {
            addCriterion("assist_num <", value, "assistNum");
            return (Criteria) this;
        }

        public Criteria andAssistNumLessThanOrEqualTo(String value) {
            addCriterion("assist_num <=", value, "assistNum");
            return (Criteria) this;
        }

        public Criteria andAssistNumLike(String value) {
            addCriterion("assist_num like", value, "assistNum");
            return (Criteria) this;
        }

        public Criteria andAssistNumNotLike(String value) {
            addCriterion("assist_num not like", value, "assistNum");
            return (Criteria) this;
        }

        public Criteria andAssistNumIn(List<String> values) {
            addCriterion("assist_num in", values, "assistNum");
            return (Criteria) this;
        }

        public Criteria andAssistNumNotIn(List<String> values) {
            addCriterion("assist_num not in", values, "assistNum");
            return (Criteria) this;
        }

        public Criteria andAssistNumBetween(String value1, String value2) {
            addCriterion("assist_num between", value1, value2, "assistNum");
            return (Criteria) this;
        }

        public Criteria andAssistNumNotBetween(String value1, String value2) {
            addCriterion("assist_num not between", value1, value2, "assistNum");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andOldNameIsNull() {
            addCriterion("old_name is null");
            return (Criteria) this;
        }

        public Criteria andOldNameIsNotNull() {
            addCriterion("old_name is not null");
            return (Criteria) this;
        }

        public Criteria andOldNameEqualTo(String value) {
            addCriterion("old_name =", value, "oldName");
            return (Criteria) this;
        }

        public Criteria andOldNameNotEqualTo(String value) {
            addCriterion("old_name <>", value, "oldName");
            return (Criteria) this;
        }

        public Criteria andOldNameGreaterThan(String value) {
            addCriterion("old_name >", value, "oldName");
            return (Criteria) this;
        }

        public Criteria andOldNameGreaterThanOrEqualTo(String value) {
            addCriterion("old_name >=", value, "oldName");
            return (Criteria) this;
        }

        public Criteria andOldNameLessThan(String value) {
            addCriterion("old_name <", value, "oldName");
            return (Criteria) this;
        }

        public Criteria andOldNameLessThanOrEqualTo(String value) {
            addCriterion("old_name <=", value, "oldName");
            return (Criteria) this;
        }

        public Criteria andOldNameLike(String value) {
            addCriterion("old_name like", value, "oldName");
            return (Criteria) this;
        }

        public Criteria andOldNameNotLike(String value) {
            addCriterion("old_name not like", value, "oldName");
            return (Criteria) this;
        }

        public Criteria andOldNameIn(List<String> values) {
            addCriterion("old_name in", values, "oldName");
            return (Criteria) this;
        }

        public Criteria andOldNameNotIn(List<String> values) {
            addCriterion("old_name not in", values, "oldName");
            return (Criteria) this;
        }

        public Criteria andOldNameBetween(String value1, String value2) {
            addCriterion("old_name between", value1, value2, "oldName");
            return (Criteria) this;
        }

        public Criteria andOldNameNotBetween(String value1, String value2) {
            addCriterion("old_name not between", value1, value2, "oldName");
            return (Criteria) this;
        }

        public Criteria andCommonNameIsNull() {
            addCriterion("common_name is null");
            return (Criteria) this;
        }

        public Criteria andCommonNameIsNotNull() {
            addCriterion("common_name is not null");
            return (Criteria) this;
        }

        public Criteria andCommonNameEqualTo(String value) {
            addCriterion("common_name =", value, "commonName");
            return (Criteria) this;
        }

        public Criteria andCommonNameNotEqualTo(String value) {
            addCriterion("common_name <>", value, "commonName");
            return (Criteria) this;
        }

        public Criteria andCommonNameGreaterThan(String value) {
            addCriterion("common_name >", value, "commonName");
            return (Criteria) this;
        }

        public Criteria andCommonNameGreaterThanOrEqualTo(String value) {
            addCriterion("common_name >=", value, "commonName");
            return (Criteria) this;
        }

        public Criteria andCommonNameLessThan(String value) {
            addCriterion("common_name <", value, "commonName");
            return (Criteria) this;
        }

        public Criteria andCommonNameLessThanOrEqualTo(String value) {
            addCriterion("common_name <=", value, "commonName");
            return (Criteria) this;
        }

        public Criteria andCommonNameLike(String value) {
            addCriterion("common_name like", value, "commonName");
            return (Criteria) this;
        }

        public Criteria andCommonNameNotLike(String value) {
            addCriterion("common_name not like", value, "commonName");
            return (Criteria) this;
        }

        public Criteria andCommonNameIn(List<String> values) {
            addCriterion("common_name in", values, "commonName");
            return (Criteria) this;
        }

        public Criteria andCommonNameNotIn(List<String> values) {
            addCriterion("common_name not in", values, "commonName");
            return (Criteria) this;
        }

        public Criteria andCommonNameBetween(String value1, String value2) {
            addCriterion("common_name between", value1, value2, "commonName");
            return (Criteria) this;
        }

        public Criteria andCommonNameNotBetween(String value1, String value2) {
            addCriterion("common_name not between", value1, value2, "commonName");
            return (Criteria) this;
        }

        public Criteria andNatureTypeIsNull() {
            addCriterion("nature_type is null");
            return (Criteria) this;
        }

        public Criteria andNatureTypeIsNotNull() {
            addCriterion("nature_type is not null");
            return (Criteria) this;
        }

        public Criteria andNatureTypeEqualTo(String value) {
            addCriterion("nature_type =", value, "natureType");
            return (Criteria) this;
        }

        public Criteria andNatureTypeNotEqualTo(String value) {
            addCriterion("nature_type <>", value, "natureType");
            return (Criteria) this;
        }

        public Criteria andNatureTypeGreaterThan(String value) {
            addCriterion("nature_type >", value, "natureType");
            return (Criteria) this;
        }

        public Criteria andNatureTypeGreaterThanOrEqualTo(String value) {
            addCriterion("nature_type >=", value, "natureType");
            return (Criteria) this;
        }

        public Criteria andNatureTypeLessThan(String value) {
            addCriterion("nature_type <", value, "natureType");
            return (Criteria) this;
        }

        public Criteria andNatureTypeLessThanOrEqualTo(String value) {
            addCriterion("nature_type <=", value, "natureType");
            return (Criteria) this;
        }

        public Criteria andNatureTypeLike(String value) {
            addCriterion("nature_type like", value, "natureType");
            return (Criteria) this;
        }

        public Criteria andNatureTypeNotLike(String value) {
            addCriterion("nature_type not like", value, "natureType");
            return (Criteria) this;
        }

        public Criteria andNatureTypeIn(List<String> values) {
            addCriterion("nature_type in", values, "natureType");
            return (Criteria) this;
        }

        public Criteria andNatureTypeNotIn(List<String> values) {
            addCriterion("nature_type not in", values, "natureType");
            return (Criteria) this;
        }

        public Criteria andNatureTypeBetween(String value1, String value2) {
            addCriterion("nature_type between", value1, value2, "natureType");
            return (Criteria) this;
        }

        public Criteria andNatureTypeNotBetween(String value1, String value2) {
            addCriterion("nature_type not between", value1, value2, "natureType");
            return (Criteria) this;
        }

        public Criteria andNatureIsNull() {
            addCriterion("nature is null");
            return (Criteria) this;
        }

        public Criteria andNatureIsNotNull() {
            addCriterion("nature is not null");
            return (Criteria) this;
        }

        public Criteria andNatureEqualTo(String value) {
            addCriterion("nature =", value, "nature");
            return (Criteria) this;
        }

        public Criteria andNatureNotEqualTo(String value) {
            addCriterion("nature <>", value, "nature");
            return (Criteria) this;
        }

        public Criteria andNatureGreaterThan(String value) {
            addCriterion("nature >", value, "nature");
            return (Criteria) this;
        }

        public Criteria andNatureGreaterThanOrEqualTo(String value) {
            addCriterion("nature >=", value, "nature");
            return (Criteria) this;
        }

        public Criteria andNatureLessThan(String value) {
            addCriterion("nature <", value, "nature");
            return (Criteria) this;
        }

        public Criteria andNatureLessThanOrEqualTo(String value) {
            addCriterion("nature <=", value, "nature");
            return (Criteria) this;
        }

        public Criteria andNatureLike(String value) {
            addCriterion("nature like", value, "nature");
            return (Criteria) this;
        }

        public Criteria andNatureNotLike(String value) {
            addCriterion("nature not like", value, "nature");
            return (Criteria) this;
        }

        public Criteria andNatureIn(List<String> values) {
            addCriterion("nature in", values, "nature");
            return (Criteria) this;
        }

        public Criteria andNatureNotIn(List<String> values) {
            addCriterion("nature not in", values, "nature");
            return (Criteria) this;
        }

        public Criteria andNatureBetween(String value1, String value2) {
            addCriterion("nature between", value1, value2, "nature");
            return (Criteria) this;
        }

        public Criteria andNatureNotBetween(String value1, String value2) {
            addCriterion("nature not between", value1, value2, "nature");
            return (Criteria) this;
        }

        public Criteria andYearTypeIsNull() {
            addCriterion("year_type is null");
            return (Criteria) this;
        }

        public Criteria andYearTypeIsNotNull() {
            addCriterion("year_type is not null");
            return (Criteria) this;
        }

        public Criteria andYearTypeEqualTo(String value) {
            addCriterion("year_type =", value, "yearType");
            return (Criteria) this;
        }

        public Criteria andYearTypeNotEqualTo(String value) {
            addCriterion("year_type <>", value, "yearType");
            return (Criteria) this;
        }

        public Criteria andYearTypeGreaterThan(String value) {
            addCriterion("year_type >", value, "yearType");
            return (Criteria) this;
        }

        public Criteria andYearTypeGreaterThanOrEqualTo(String value) {
            addCriterion("year_type >=", value, "yearType");
            return (Criteria) this;
        }

        public Criteria andYearTypeLessThan(String value) {
            addCriterion("year_type <", value, "yearType");
            return (Criteria) this;
        }

        public Criteria andYearTypeLessThanOrEqualTo(String value) {
            addCriterion("year_type <=", value, "yearType");
            return (Criteria) this;
        }

        public Criteria andYearTypeLike(String value) {
            addCriterion("year_type like", value, "yearType");
            return (Criteria) this;
        }

        public Criteria andYearTypeNotLike(String value) {
            addCriterion("year_type not like", value, "yearType");
            return (Criteria) this;
        }

        public Criteria andYearTypeIn(List<String> values) {
            addCriterion("year_type in", values, "yearType");
            return (Criteria) this;
        }

        public Criteria andYearTypeNotIn(List<String> values) {
            addCriterion("year_type not in", values, "yearType");
            return (Criteria) this;
        }

        public Criteria andYearTypeBetween(String value1, String value2) {
            addCriterion("year_type between", value1, value2, "yearType");
            return (Criteria) this;
        }

        public Criteria andYearTypeNotBetween(String value1, String value2) {
            addCriterion("year_type not between", value1, value2, "yearType");
            return (Criteria) this;
        }

        public Criteria andYearIsNull() {
            addCriterion("year is null");
            return (Criteria) this;
        }

        public Criteria andYearIsNotNull() {
            addCriterion("year is not null");
            return (Criteria) this;
        }

        public Criteria andYearEqualTo(String value) {
            addCriterion("year =", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotEqualTo(String value) {
            addCriterion("year <>", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearGreaterThan(String value) {
            addCriterion("year >", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearGreaterThanOrEqualTo(String value) {
            addCriterion("year >=", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearLessThan(String value) {
            addCriterion("year <", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearLessThanOrEqualTo(String value) {
            addCriterion("year <=", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearLike(String value) {
            addCriterion("year like", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotLike(String value) {
            addCriterion("year not like", value, "year");
            return (Criteria) this;
        }

        public Criteria andYearIn(List<String> values) {
            addCriterion("year in", values, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotIn(List<String> values) {
            addCriterion("year not in", values, "year");
            return (Criteria) this;
        }

        public Criteria andYearBetween(String value1, String value2) {
            addCriterion("year between", value1, value2, "year");
            return (Criteria) this;
        }

        public Criteria andYearNotBetween(String value1, String value2) {
            addCriterion("year not between", value1, value2, "year");
            return (Criteria) this;
        }

        public Criteria andNumberIsNull() {
            addCriterion("number is null");
            return (Criteria) this;
        }

        public Criteria andNumberIsNotNull() {
            addCriterion("number is not null");
            return (Criteria) this;
        }

        public Criteria andNumberEqualTo(String value) {
            addCriterion("number =", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotEqualTo(String value) {
            addCriterion("number <>", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThan(String value) {
            addCriterion("number >", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberGreaterThanOrEqualTo(String value) {
            addCriterion("number >=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThan(String value) {
            addCriterion("number <", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLessThanOrEqualTo(String value) {
            addCriterion("number <=", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberLike(String value) {
            addCriterion("number like", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotLike(String value) {
            addCriterion("number not like", value, "number");
            return (Criteria) this;
        }

        public Criteria andNumberIn(List<String> values) {
            addCriterion("number in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotIn(List<String> values) {
            addCriterion("number not in", values, "number");
            return (Criteria) this;
        }

        public Criteria andNumberBetween(String value1, String value2) {
            addCriterion("number between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andNumberNotBetween(String value1, String value2) {
            addCriterion("number not between", value1, value2, "number");
            return (Criteria) this;
        }

        public Criteria andTraditionNumberIsNull() {
            addCriterion("tradition_number is null");
            return (Criteria) this;
        }

        public Criteria andTraditionNumberIsNotNull() {
            addCriterion("tradition_number is not null");
            return (Criteria) this;
        }

        public Criteria andTraditionNumberEqualTo(String value) {
            addCriterion("tradition_number =", value, "traditionNumber");
            return (Criteria) this;
        }

        public Criteria andTraditionNumberNotEqualTo(String value) {
            addCriterion("tradition_number <>", value, "traditionNumber");
            return (Criteria) this;
        }

        public Criteria andTraditionNumberGreaterThan(String value) {
            addCriterion("tradition_number >", value, "traditionNumber");
            return (Criteria) this;
        }

        public Criteria andTraditionNumberGreaterThanOrEqualTo(String value) {
            addCriterion("tradition_number >=", value, "traditionNumber");
            return (Criteria) this;
        }

        public Criteria andTraditionNumberLessThan(String value) {
            addCriterion("tradition_number <", value, "traditionNumber");
            return (Criteria) this;
        }

        public Criteria andTraditionNumberLessThanOrEqualTo(String value) {
            addCriterion("tradition_number <=", value, "traditionNumber");
            return (Criteria) this;
        }

        public Criteria andTraditionNumberLike(String value) {
            addCriterion("tradition_number like", value, "traditionNumber");
            return (Criteria) this;
        }

        public Criteria andTraditionNumberNotLike(String value) {
            addCriterion("tradition_number not like", value, "traditionNumber");
            return (Criteria) this;
        }

        public Criteria andTraditionNumberIn(List<String> values) {
            addCriterion("tradition_number in", values, "traditionNumber");
            return (Criteria) this;
        }

        public Criteria andTraditionNumberNotIn(List<String> values) {
            addCriterion("tradition_number not in", values, "traditionNumber");
            return (Criteria) this;
        }

        public Criteria andTraditionNumberBetween(String value1, String value2) {
            addCriterion("tradition_number between", value1, value2, "traditionNumber");
            return (Criteria) this;
        }

        public Criteria andTraditionNumberNotBetween(String value1, String value2) {
            addCriterion("tradition_number not between", value1, value2, "traditionNumber");
            return (Criteria) this;
        }

        public Criteria andIsRelicsIsNull() {
            addCriterion("is_relics is null");
            return (Criteria) this;
        }

        public Criteria andIsRelicsIsNotNull() {
            addCriterion("is_relics is not null");
            return (Criteria) this;
        }

        public Criteria andIsRelicsEqualTo(String value) {
            addCriterion("is_relics =", value, "isRelics");
            return (Criteria) this;
        }

        public Criteria andIsRelicsNotEqualTo(String value) {
            addCriterion("is_relics <>", value, "isRelics");
            return (Criteria) this;
        }

        public Criteria andIsRelicsGreaterThan(String value) {
            addCriterion("is_relics >", value, "isRelics");
            return (Criteria) this;
        }

        public Criteria andIsRelicsGreaterThanOrEqualTo(String value) {
            addCriterion("is_relics >=", value, "isRelics");
            return (Criteria) this;
        }

        public Criteria andIsRelicsLessThan(String value) {
            addCriterion("is_relics <", value, "isRelics");
            return (Criteria) this;
        }

        public Criteria andIsRelicsLessThanOrEqualTo(String value) {
            addCriterion("is_relics <=", value, "isRelics");
            return (Criteria) this;
        }

        public Criteria andIsRelicsLike(String value) {
            addCriterion("is_relics like", value, "isRelics");
            return (Criteria) this;
        }

        public Criteria andIsRelicsNotLike(String value) {
            addCriterion("is_relics not like", value, "isRelics");
            return (Criteria) this;
        }

        public Criteria andIsRelicsIn(List<String> values) {
            addCriterion("is_relics in", values, "isRelics");
            return (Criteria) this;
        }

        public Criteria andIsRelicsNotIn(List<String> values) {
            addCriterion("is_relics not in", values, "isRelics");
            return (Criteria) this;
        }

        public Criteria andIsRelicsBetween(String value1, String value2) {
            addCriterion("is_relics between", value1, value2, "isRelics");
            return (Criteria) this;
        }

        public Criteria andIsRelicsNotBetween(String value1, String value2) {
            addCriterion("is_relics not between", value1, value2, "isRelics");
            return (Criteria) this;
        }

        public Criteria andAffirmOrganIsNull() {
            addCriterion("affirm_organ is null");
            return (Criteria) this;
        }

        public Criteria andAffirmOrganIsNotNull() {
            addCriterion("affirm_organ is not null");
            return (Criteria) this;
        }

        public Criteria andAffirmOrganEqualTo(String value) {
            addCriterion("affirm_organ =", value, "affirmOrgan");
            return (Criteria) this;
        }

        public Criteria andAffirmOrganNotEqualTo(String value) {
            addCriterion("affirm_organ <>", value, "affirmOrgan");
            return (Criteria) this;
        }

        public Criteria andAffirmOrganGreaterThan(String value) {
            addCriterion("affirm_organ >", value, "affirmOrgan");
            return (Criteria) this;
        }

        public Criteria andAffirmOrganGreaterThanOrEqualTo(String value) {
            addCriterion("affirm_organ >=", value, "affirmOrgan");
            return (Criteria) this;
        }

        public Criteria andAffirmOrganLessThan(String value) {
            addCriterion("affirm_organ <", value, "affirmOrgan");
            return (Criteria) this;
        }

        public Criteria andAffirmOrganLessThanOrEqualTo(String value) {
            addCriterion("affirm_organ <=", value, "affirmOrgan");
            return (Criteria) this;
        }

        public Criteria andAffirmOrganLike(String value) {
            addCriterion("affirm_organ like", value, "affirmOrgan");
            return (Criteria) this;
        }

        public Criteria andAffirmOrganNotLike(String value) {
            addCriterion("affirm_organ not like", value, "affirmOrgan");
            return (Criteria) this;
        }

        public Criteria andAffirmOrganIn(List<String> values) {
            addCriterion("affirm_organ in", values, "affirmOrgan");
            return (Criteria) this;
        }

        public Criteria andAffirmOrganNotIn(List<String> values) {
            addCriterion("affirm_organ not in", values, "affirmOrgan");
            return (Criteria) this;
        }

        public Criteria andAffirmOrganBetween(String value1, String value2) {
            addCriterion("affirm_organ between", value1, value2, "affirmOrgan");
            return (Criteria) this;
        }

        public Criteria andAffirmOrganNotBetween(String value1, String value2) {
            addCriterion("affirm_organ not between", value1, value2, "affirmOrgan");
            return (Criteria) this;
        }

        public Criteria andAffirmPersonIsNull() {
            addCriterion("affirm_person is null");
            return (Criteria) this;
        }

        public Criteria andAffirmPersonIsNotNull() {
            addCriterion("affirm_person is not null");
            return (Criteria) this;
        }

        public Criteria andAffirmPersonEqualTo(String value) {
            addCriterion("affirm_person =", value, "affirmPerson");
            return (Criteria) this;
        }

        public Criteria andAffirmPersonNotEqualTo(String value) {
            addCriterion("affirm_person <>", value, "affirmPerson");
            return (Criteria) this;
        }

        public Criteria andAffirmPersonGreaterThan(String value) {
            addCriterion("affirm_person >", value, "affirmPerson");
            return (Criteria) this;
        }

        public Criteria andAffirmPersonGreaterThanOrEqualTo(String value) {
            addCriterion("affirm_person >=", value, "affirmPerson");
            return (Criteria) this;
        }

        public Criteria andAffirmPersonLessThan(String value) {
            addCriterion("affirm_person <", value, "affirmPerson");
            return (Criteria) this;
        }

        public Criteria andAffirmPersonLessThanOrEqualTo(String value) {
            addCriterion("affirm_person <=", value, "affirmPerson");
            return (Criteria) this;
        }

        public Criteria andAffirmPersonLike(String value) {
            addCriterion("affirm_person like", value, "affirmPerson");
            return (Criteria) this;
        }

        public Criteria andAffirmPersonNotLike(String value) {
            addCriterion("affirm_person not like", value, "affirmPerson");
            return (Criteria) this;
        }

        public Criteria andAffirmPersonIn(List<String> values) {
            addCriterion("affirm_person in", values, "affirmPerson");
            return (Criteria) this;
        }

        public Criteria andAffirmPersonNotIn(List<String> values) {
            addCriterion("affirm_person not in", values, "affirmPerson");
            return (Criteria) this;
        }

        public Criteria andAffirmPersonBetween(String value1, String value2) {
            addCriterion("affirm_person between", value1, value2, "affirmPerson");
            return (Criteria) this;
        }

        public Criteria andAffirmPersonNotBetween(String value1, String value2) {
            addCriterion("affirm_person not between", value1, value2, "affirmPerson");
            return (Criteria) this;
        }

        public Criteria andRelicsLeverIsNull() {
            addCriterion("relics_lever is null");
            return (Criteria) this;
        }

        public Criteria andRelicsLeverIsNotNull() {
            addCriterion("relics_lever is not null");
            return (Criteria) this;
        }

        public Criteria andRelicsLeverEqualTo(String value) {
            addCriterion("relics_lever =", value, "relicsLever");
            return (Criteria) this;
        }

        public Criteria andRelicsLeverNotEqualTo(String value) {
            addCriterion("relics_lever <>", value, "relicsLever");
            return (Criteria) this;
        }

        public Criteria andRelicsLeverGreaterThan(String value) {
            addCriterion("relics_lever >", value, "relicsLever");
            return (Criteria) this;
        }

        public Criteria andRelicsLeverGreaterThanOrEqualTo(String value) {
            addCriterion("relics_lever >=", value, "relicsLever");
            return (Criteria) this;
        }

        public Criteria andRelicsLeverLessThan(String value) {
            addCriterion("relics_lever <", value, "relicsLever");
            return (Criteria) this;
        }

        public Criteria andRelicsLeverLessThanOrEqualTo(String value) {
            addCriterion("relics_lever <=", value, "relicsLever");
            return (Criteria) this;
        }

        public Criteria andRelicsLeverLike(String value) {
            addCriterion("relics_lever like", value, "relicsLever");
            return (Criteria) this;
        }

        public Criteria andRelicsLeverNotLike(String value) {
            addCriterion("relics_lever not like", value, "relicsLever");
            return (Criteria) this;
        }

        public Criteria andRelicsLeverIn(List<String> values) {
            addCriterion("relics_lever in", values, "relicsLever");
            return (Criteria) this;
        }

        public Criteria andRelicsLeverNotIn(List<String> values) {
            addCriterion("relics_lever not in", values, "relicsLever");
            return (Criteria) this;
        }

        public Criteria andRelicsLeverBetween(String value1, String value2) {
            addCriterion("relics_lever between", value1, value2, "relicsLever");
            return (Criteria) this;
        }

        public Criteria andRelicsLeverNotBetween(String value1, String value2) {
            addCriterion("relics_lever not between", value1, value2, "relicsLever");
            return (Criteria) this;
        }

        public Criteria andSizeIsNull() {
            addCriterion("size is null");
            return (Criteria) this;
        }

        public Criteria andSizeIsNotNull() {
            addCriterion("size is not null");
            return (Criteria) this;
        }

        public Criteria andSizeEqualTo(String value) {
            addCriterion("size =", value, "size");
            return (Criteria) this;
        }

        public Criteria andSizeNotEqualTo(String value) {
            addCriterion("size <>", value, "size");
            return (Criteria) this;
        }

        public Criteria andSizeGreaterThan(String value) {
            addCriterion("size >", value, "size");
            return (Criteria) this;
        }

        public Criteria andSizeGreaterThanOrEqualTo(String value) {
            addCriterion("size >=", value, "size");
            return (Criteria) this;
        }

        public Criteria andSizeLessThan(String value) {
            addCriterion("size <", value, "size");
            return (Criteria) this;
        }

        public Criteria andSizeLessThanOrEqualTo(String value) {
            addCriterion("size <=", value, "size");
            return (Criteria) this;
        }

        public Criteria andSizeLike(String value) {
            addCriterion("size like", value, "size");
            return (Criteria) this;
        }

        public Criteria andSizeNotLike(String value) {
            addCriterion("size not like", value, "size");
            return (Criteria) this;
        }

        public Criteria andSizeIn(List<String> values) {
            addCriterion("size in", values, "size");
            return (Criteria) this;
        }

        public Criteria andSizeNotIn(List<String> values) {
            addCriterion("size not in", values, "size");
            return (Criteria) this;
        }

        public Criteria andSizeBetween(String value1, String value2) {
            addCriterion("size between", value1, value2, "size");
            return (Criteria) this;
        }

        public Criteria andSizeNotBetween(String value1, String value2) {
            addCriterion("size not between", value1, value2, "size");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationIsNull() {
            addCriterion("integrity_situation is null");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationIsNotNull() {
            addCriterion("integrity_situation is not null");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationEqualTo(String value) {
            addCriterion("integrity_situation =", value, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationNotEqualTo(String value) {
            addCriterion("integrity_situation <>", value, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationGreaterThan(String value) {
            addCriterion("integrity_situation >", value, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationGreaterThanOrEqualTo(String value) {
            addCriterion("integrity_situation >=", value, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationLessThan(String value) {
            addCriterion("integrity_situation <", value, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationLessThanOrEqualTo(String value) {
            addCriterion("integrity_situation <=", value, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationLike(String value) {
            addCriterion("integrity_situation like", value, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationNotLike(String value) {
            addCriterion("integrity_situation not like", value, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationIn(List<String> values) {
            addCriterion("integrity_situation in", values, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationNotIn(List<String> values) {
            addCriterion("integrity_situation not in", values, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationBetween(String value1, String value2) {
            addCriterion("integrity_situation between", value1, value2, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andIntegritySituationNotBetween(String value1, String value2) {
            addCriterion("integrity_situation not between", value1, value2, "integritySituation");
            return (Criteria) this;
        }

        public Criteria andBasicFormsIsNull() {
            addCriterion("basic_forms is null");
            return (Criteria) this;
        }

        public Criteria andBasicFormsIsNotNull() {
            addCriterion("basic_forms is not null");
            return (Criteria) this;
        }

        public Criteria andBasicFormsEqualTo(String value) {
            addCriterion("basic_forms =", value, "basicForms");
            return (Criteria) this;
        }

        public Criteria andBasicFormsNotEqualTo(String value) {
            addCriterion("basic_forms <>", value, "basicForms");
            return (Criteria) this;
        }

        public Criteria andBasicFormsGreaterThan(String value) {
            addCriterion("basic_forms >", value, "basicForms");
            return (Criteria) this;
        }

        public Criteria andBasicFormsGreaterThanOrEqualTo(String value) {
            addCriterion("basic_forms >=", value, "basicForms");
            return (Criteria) this;
        }

        public Criteria andBasicFormsLessThan(String value) {
            addCriterion("basic_forms <", value, "basicForms");
            return (Criteria) this;
        }

        public Criteria andBasicFormsLessThanOrEqualTo(String value) {
            addCriterion("basic_forms <=", value, "basicForms");
            return (Criteria) this;
        }

        public Criteria andBasicFormsLike(String value) {
            addCriterion("basic_forms like", value, "basicForms");
            return (Criteria) this;
        }

        public Criteria andBasicFormsNotLike(String value) {
            addCriterion("basic_forms not like", value, "basicForms");
            return (Criteria) this;
        }

        public Criteria andBasicFormsIn(List<String> values) {
            addCriterion("basic_forms in", values, "basicForms");
            return (Criteria) this;
        }

        public Criteria andBasicFormsNotIn(List<String> values) {
            addCriterion("basic_forms not in", values, "basicForms");
            return (Criteria) this;
        }

        public Criteria andBasicFormsBetween(String value1, String value2) {
            addCriterion("basic_forms between", value1, value2, "basicForms");
            return (Criteria) this;
        }

        public Criteria andBasicFormsNotBetween(String value1, String value2) {
            addCriterion("basic_forms not between", value1, value2, "basicForms");
            return (Criteria) this;
        }

        public Criteria andGeneralFormsIsNull() {
            addCriterion("general_forms is null");
            return (Criteria) this;
        }

        public Criteria andGeneralFormsIsNotNull() {
            addCriterion("general_forms is not null");
            return (Criteria) this;
        }

        public Criteria andGeneralFormsEqualTo(String value) {
            addCriterion("general_forms =", value, "generalForms");
            return (Criteria) this;
        }

        public Criteria andGeneralFormsNotEqualTo(String value) {
            addCriterion("general_forms <>", value, "generalForms");
            return (Criteria) this;
        }

        public Criteria andGeneralFormsGreaterThan(String value) {
            addCriterion("general_forms >", value, "generalForms");
            return (Criteria) this;
        }

        public Criteria andGeneralFormsGreaterThanOrEqualTo(String value) {
            addCriterion("general_forms >=", value, "generalForms");
            return (Criteria) this;
        }

        public Criteria andGeneralFormsLessThan(String value) {
            addCriterion("general_forms <", value, "generalForms");
            return (Criteria) this;
        }

        public Criteria andGeneralFormsLessThanOrEqualTo(String value) {
            addCriterion("general_forms <=", value, "generalForms");
            return (Criteria) this;
        }

        public Criteria andGeneralFormsLike(String value) {
            addCriterion("general_forms like", value, "generalForms");
            return (Criteria) this;
        }

        public Criteria andGeneralFormsNotLike(String value) {
            addCriterion("general_forms not like", value, "generalForms");
            return (Criteria) this;
        }

        public Criteria andGeneralFormsIn(List<String> values) {
            addCriterion("general_forms in", values, "generalForms");
            return (Criteria) this;
        }

        public Criteria andGeneralFormsNotIn(List<String> values) {
            addCriterion("general_forms not in", values, "generalForms");
            return (Criteria) this;
        }

        public Criteria andGeneralFormsBetween(String value1, String value2) {
            addCriterion("general_forms between", value1, value2, "generalForms");
            return (Criteria) this;
        }

        public Criteria andGeneralFormsNotBetween(String value1, String value2) {
            addCriterion("general_forms not between", value1, value2, "generalForms");
            return (Criteria) this;
        }

        public Criteria andValueIsNull() {
            addCriterion("value is null");
            return (Criteria) this;
        }

        public Criteria andValueIsNotNull() {
            addCriterion("value is not null");
            return (Criteria) this;
        }

        public Criteria andValueEqualTo(String value) {
            addCriterion("value =", value, "value");
            return (Criteria) this;
        }

        public Criteria andValueNotEqualTo(String value) {
            addCriterion("value <>", value, "value");
            return (Criteria) this;
        }

        public Criteria andValueGreaterThan(String value) {
            addCriterion("value >", value, "value");
            return (Criteria) this;
        }

        public Criteria andValueGreaterThanOrEqualTo(String value) {
            addCriterion("value >=", value, "value");
            return (Criteria) this;
        }

        public Criteria andValueLessThan(String value) {
            addCriterion("value <", value, "value");
            return (Criteria) this;
        }

        public Criteria andValueLessThanOrEqualTo(String value) {
            addCriterion("value <=", value, "value");
            return (Criteria) this;
        }

        public Criteria andValueLike(String value) {
            addCriterion("value like", value, "value");
            return (Criteria) this;
        }

        public Criteria andValueNotLike(String value) {
            addCriterion("value not like", value, "value");
            return (Criteria) this;
        }

        public Criteria andValueIn(List<String> values) {
            addCriterion("value in", values, "value");
            return (Criteria) this;
        }

        public Criteria andValueNotIn(List<String> values) {
            addCriterion("value not in", values, "value");
            return (Criteria) this;
        }

        public Criteria andValueBetween(String value1, String value2) {
            addCriterion("value between", value1, value2, "value");
            return (Criteria) this;
        }

        public Criteria andValueNotBetween(String value1, String value2) {
            addCriterion("value not between", value1, value2, "value");
            return (Criteria) this;
        }

        public Criteria andSpreadingSituationIsNull() {
            addCriterion("spreading_situation is null");
            return (Criteria) this;
        }

        public Criteria andSpreadingSituationIsNotNull() {
            addCriterion("spreading_situation is not null");
            return (Criteria) this;
        }

        public Criteria andSpreadingSituationEqualTo(String value) {
            addCriterion("spreading_situation =", value, "spreadingSituation");
            return (Criteria) this;
        }

        public Criteria andSpreadingSituationNotEqualTo(String value) {
            addCriterion("spreading_situation <>", value, "spreadingSituation");
            return (Criteria) this;
        }

        public Criteria andSpreadingSituationGreaterThan(String value) {
            addCriterion("spreading_situation >", value, "spreadingSituation");
            return (Criteria) this;
        }

        public Criteria andSpreadingSituationGreaterThanOrEqualTo(String value) {
            addCriterion("spreading_situation >=", value, "spreadingSituation");
            return (Criteria) this;
        }

        public Criteria andSpreadingSituationLessThan(String value) {
            addCriterion("spreading_situation <", value, "spreadingSituation");
            return (Criteria) this;
        }

        public Criteria andSpreadingSituationLessThanOrEqualTo(String value) {
            addCriterion("spreading_situation <=", value, "spreadingSituation");
            return (Criteria) this;
        }

        public Criteria andSpreadingSituationLike(String value) {
            addCriterion("spreading_situation like", value, "spreadingSituation");
            return (Criteria) this;
        }

        public Criteria andSpreadingSituationNotLike(String value) {
            addCriterion("spreading_situation not like", value, "spreadingSituation");
            return (Criteria) this;
        }

        public Criteria andSpreadingSituationIn(List<String> values) {
            addCriterion("spreading_situation in", values, "spreadingSituation");
            return (Criteria) this;
        }

        public Criteria andSpreadingSituationNotIn(List<String> values) {
            addCriterion("spreading_situation not in", values, "spreadingSituation");
            return (Criteria) this;
        }

        public Criteria andSpreadingSituationBetween(String value1, String value2) {
            addCriterion("spreading_situation between", value1, value2, "spreadingSituation");
            return (Criteria) this;
        }

        public Criteria andSpreadingSituationNotBetween(String value1, String value2) {
            addCriterion("spreading_situation not between", value1, value2, "spreadingSituation");
            return (Criteria) this;
        }

        public Criteria andInstoreLocationIsNull() {
            addCriterion("instore_location is null");
            return (Criteria) this;
        }

        public Criteria andInstoreLocationIsNotNull() {
            addCriterion("instore_location is not null");
            return (Criteria) this;
        }

        public Criteria andInstoreLocationEqualTo(String value) {
            addCriterion("instore_location =", value, "instoreLocation");
            return (Criteria) this;
        }

        public Criteria andInstoreLocationNotEqualTo(String value) {
            addCriterion("instore_location <>", value, "instoreLocation");
            return (Criteria) this;
        }

        public Criteria andInstoreLocationGreaterThan(String value) {
            addCriterion("instore_location >", value, "instoreLocation");
            return (Criteria) this;
        }

        public Criteria andInstoreLocationGreaterThanOrEqualTo(String value) {
            addCriterion("instore_location >=", value, "instoreLocation");
            return (Criteria) this;
        }

        public Criteria andInstoreLocationLessThan(String value) {
            addCriterion("instore_location <", value, "instoreLocation");
            return (Criteria) this;
        }

        public Criteria andInstoreLocationLessThanOrEqualTo(String value) {
            addCriterion("instore_location <=", value, "instoreLocation");
            return (Criteria) this;
        }

        public Criteria andInstoreLocationLike(String value) {
            addCriterion("instore_location like", value, "instoreLocation");
            return (Criteria) this;
        }

        public Criteria andInstoreLocationNotLike(String value) {
            addCriterion("instore_location not like", value, "instoreLocation");
            return (Criteria) this;
        }

        public Criteria andInstoreLocationIn(List<String> values) {
            addCriterion("instore_location in", values, "instoreLocation");
            return (Criteria) this;
        }

        public Criteria andInstoreLocationNotIn(List<String> values) {
            addCriterion("instore_location not in", values, "instoreLocation");
            return (Criteria) this;
        }

        public Criteria andInstoreLocationBetween(String value1, String value2) {
            addCriterion("instore_location between", value1, value2, "instoreLocation");
            return (Criteria) this;
        }

        public Criteria andInstoreLocationNotBetween(String value1, String value2) {
            addCriterion("instore_location not between", value1, value2, "instoreLocation");
            return (Criteria) this;
        }

        public Criteria andOwnershipIsNull() {
            addCriterion("ownership is null");
            return (Criteria) this;
        }

        public Criteria andOwnershipIsNotNull() {
            addCriterion("ownership is not null");
            return (Criteria) this;
        }

        public Criteria andOwnershipEqualTo(String value) {
            addCriterion("ownership =", value, "ownership");
            return (Criteria) this;
        }

        public Criteria andOwnershipNotEqualTo(String value) {
            addCriterion("ownership <>", value, "ownership");
            return (Criteria) this;
        }

        public Criteria andOwnershipGreaterThan(String value) {
            addCriterion("ownership >", value, "ownership");
            return (Criteria) this;
        }

        public Criteria andOwnershipGreaterThanOrEqualTo(String value) {
            addCriterion("ownership >=", value, "ownership");
            return (Criteria) this;
        }

        public Criteria andOwnershipLessThan(String value) {
            addCriterion("ownership <", value, "ownership");
            return (Criteria) this;
        }

        public Criteria andOwnershipLessThanOrEqualTo(String value) {
            addCriterion("ownership <=", value, "ownership");
            return (Criteria) this;
        }

        public Criteria andOwnershipLike(String value) {
            addCriterion("ownership like", value, "ownership");
            return (Criteria) this;
        }

        public Criteria andOwnershipNotLike(String value) {
            addCriterion("ownership not like", value, "ownership");
            return (Criteria) this;
        }

        public Criteria andOwnershipIn(List<String> values) {
            addCriterion("ownership in", values, "ownership");
            return (Criteria) this;
        }

        public Criteria andOwnershipNotIn(List<String> values) {
            addCriterion("ownership not in", values, "ownership");
            return (Criteria) this;
        }

        public Criteria andOwnershipBetween(String value1, String value2) {
            addCriterion("ownership between", value1, value2, "ownership");
            return (Criteria) this;
        }

        public Criteria andOwnershipNotBetween(String value1, String value2) {
            addCriterion("ownership not between", value1, value2, "ownership");
            return (Criteria) this;
        }

        public Criteria andAudioIsNull() {
            addCriterion("audio is null");
            return (Criteria) this;
        }

        public Criteria andAudioIsNotNull() {
            addCriterion("audio is not null");
            return (Criteria) this;
        }

        public Criteria andAudioEqualTo(String value) {
            addCriterion("audio =", value, "audio");
            return (Criteria) this;
        }

        public Criteria andAudioNotEqualTo(String value) {
            addCriterion("audio <>", value, "audio");
            return (Criteria) this;
        }

        public Criteria andAudioGreaterThan(String value) {
            addCriterion("audio >", value, "audio");
            return (Criteria) this;
        }

        public Criteria andAudioGreaterThanOrEqualTo(String value) {
            addCriterion("audio >=", value, "audio");
            return (Criteria) this;
        }

        public Criteria andAudioLessThan(String value) {
            addCriterion("audio <", value, "audio");
            return (Criteria) this;
        }

        public Criteria andAudioLessThanOrEqualTo(String value) {
            addCriterion("audio <=", value, "audio");
            return (Criteria) this;
        }

        public Criteria andAudioLike(String value) {
            addCriterion("audio like", value, "audio");
            return (Criteria) this;
        }

        public Criteria andAudioNotLike(String value) {
            addCriterion("audio not like", value, "audio");
            return (Criteria) this;
        }

        public Criteria andAudioIn(List<String> values) {
            addCriterion("audio in", values, "audio");
            return (Criteria) this;
        }

        public Criteria andAudioNotIn(List<String> values) {
            addCriterion("audio not in", values, "audio");
            return (Criteria) this;
        }

        public Criteria andAudioBetween(String value1, String value2) {
            addCriterion("audio between", value1, value2, "audio");
            return (Criteria) this;
        }

        public Criteria andAudioNotBetween(String value1, String value2) {
            addCriterion("audio not between", value1, value2, "audio");
            return (Criteria) this;
        }

        public Criteria andFileIsNull() {
            addCriterion("file is null");
            return (Criteria) this;
        }

        public Criteria andFileIsNotNull() {
            addCriterion("file is not null");
            return (Criteria) this;
        }

        public Criteria andFileEqualTo(String value) {
            addCriterion("file =", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileNotEqualTo(String value) {
            addCriterion("file <>", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileGreaterThan(String value) {
            addCriterion("file >", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileGreaterThanOrEqualTo(String value) {
            addCriterion("file >=", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileLessThan(String value) {
            addCriterion("file <", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileLessThanOrEqualTo(String value) {
            addCriterion("file <=", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileLike(String value) {
            addCriterion("file like", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileNotLike(String value) {
            addCriterion("file not like", value, "file");
            return (Criteria) this;
        }

        public Criteria andFileIn(List<String> values) {
            addCriterion("file in", values, "file");
            return (Criteria) this;
        }

        public Criteria andFileNotIn(List<String> values) {
            addCriterion("file not in", values, "file");
            return (Criteria) this;
        }

        public Criteria andFileBetween(String value1, String value2) {
            addCriterion("file between", value1, value2, "file");
            return (Criteria) this;
        }

        public Criteria andFileNotBetween(String value1, String value2) {
            addCriterion("file not between", value1, value2, "file");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andAppend1IsNull() {
            addCriterion("append1 is null");
            return (Criteria) this;
        }

        public Criteria andAppend1IsNotNull() {
            addCriterion("append1 is not null");
            return (Criteria) this;
        }

        public Criteria andAppend1EqualTo(String value) {
            addCriterion("append1 =", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotEqualTo(String value) {
            addCriterion("append1 <>", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1GreaterThan(String value) {
            addCriterion("append1 >", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1GreaterThanOrEqualTo(String value) {
            addCriterion("append1 >=", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1LessThan(String value) {
            addCriterion("append1 <", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1LessThanOrEqualTo(String value) {
            addCriterion("append1 <=", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1Like(String value) {
            addCriterion("append1 like", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotLike(String value) {
            addCriterion("append1 not like", value, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1In(List<String> values) {
            addCriterion("append1 in", values, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotIn(List<String> values) {
            addCriterion("append1 not in", values, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1Between(String value1, String value2) {
            addCriterion("append1 between", value1, value2, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend1NotBetween(String value1, String value2) {
            addCriterion("append1 not between", value1, value2, "append1");
            return (Criteria) this;
        }

        public Criteria andAppend2IsNull() {
            addCriterion("append2 is null");
            return (Criteria) this;
        }

        public Criteria andAppend2IsNotNull() {
            addCriterion("append2 is not null");
            return (Criteria) this;
        }

        public Criteria andAppend2EqualTo(String value) {
            addCriterion("append2 =", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotEqualTo(String value) {
            addCriterion("append2 <>", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2GreaterThan(String value) {
            addCriterion("append2 >", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2GreaterThanOrEqualTo(String value) {
            addCriterion("append2 >=", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2LessThan(String value) {
            addCriterion("append2 <", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2LessThanOrEqualTo(String value) {
            addCriterion("append2 <=", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2Like(String value) {
            addCriterion("append2 like", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotLike(String value) {
            addCriterion("append2 not like", value, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2In(List<String> values) {
            addCriterion("append2 in", values, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotIn(List<String> values) {
            addCriterion("append2 not in", values, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2Between(String value1, String value2) {
            addCriterion("append2 between", value1, value2, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend2NotBetween(String value1, String value2) {
            addCriterion("append2 not between", value1, value2, "append2");
            return (Criteria) this;
        }

        public Criteria andAppend3IsNull() {
            addCriterion("append3 is null");
            return (Criteria) this;
        }

        public Criteria andAppend3IsNotNull() {
            addCriterion("append3 is not null");
            return (Criteria) this;
        }

        public Criteria andAppend3EqualTo(String value) {
            addCriterion("append3 =", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotEqualTo(String value) {
            addCriterion("append3 <>", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3GreaterThan(String value) {
            addCriterion("append3 >", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3GreaterThanOrEqualTo(String value) {
            addCriterion("append3 >=", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3LessThan(String value) {
            addCriterion("append3 <", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3LessThanOrEqualTo(String value) {
            addCriterion("append3 <=", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3Like(String value) {
            addCriterion("append3 like", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotLike(String value) {
            addCriterion("append3 not like", value, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3In(List<String> values) {
            addCriterion("append3 in", values, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotIn(List<String> values) {
            addCriterion("append3 not in", values, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3Between(String value1, String value2) {
            addCriterion("append3 between", value1, value2, "append3");
            return (Criteria) this;
        }

        public Criteria andAppend3NotBetween(String value1, String value2) {
            addCriterion("append3 not between", value1, value2, "append3");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}